package com.key.oa.util;

import java.util.HashMap;
import java.util.Map;

public class UncheckedData {
	
	//内容，时间，部门，金额
	// { "Head":[ { "Id":"9fa7965a-e836-4a66-8358-fd11f1e947c3",
	//"StartTime":"2012-12-5 20:17:10",
	//"WorkflowInstanceId":"0468aaf7-3b38-4238-b363-9680ba3b54ca",
	//"Classfication":"预算支出",
	//"name":"黄芳",
	//"cost_budget":"5.00",
	//"depname":"综合办"} ]}
	
	private Map<String,String> map = new HashMap<String,String>();
	
	public void saveUnckecked( Map<String,String> map ) {
		this.map = map;
	}
	public void saveUnchecked( String key,String value ) {
		map.put(key, value);
	}
	
	public String getUnchecked( String key ) {
		return map.get(key);
	}
	
	public Map<String,String> getAllUnchecked() {
		return map;
	}
	
	public void deleteUnchecked( String key ) {
		map.remove(key);
	}
	
	public void clearUnchecked() {
		map.clear();
	}
	
}
